package com.zc.app.shiro.dao;


import com.zc.app.shiro.peer.ResourcePeer;

import java.util.List;

/**
 * <p>Resource: Zhang Kaitao
 * <p>Date: 14-1-28
 * <p>Version: 1.0
 */
public interface ResourceDao {

    public ResourcePeer createResource(ResourcePeer ResourcePeer);
    public ResourcePeer updateResource(ResourcePeer ResourcePeer);
    public void deleteResource(Long ResourcePeerId);

    ResourcePeer findOne(Long ResourcePeerId);
    List<ResourcePeer> findAll();

}
